package com.impzx.iwframe.persist.dao;

import java.util.List;
import java.util.Map;

public interface Dao<T> {

	List<T> select(Map<String, Object> params);

	List<T> selectByPage(Map<String, Object> params, int pageId);
	
	T selectObject(T t);

	int update(T t);

	int insert(T t);
	
	int deleteById(int id);

	T[] selectObjectList(T t);

	T selectById(int id);

}
